<?php if(null == $this->identity) exit();?>
<h3>Create a new post</h3>
<?php 
$form = $this->createPostForm;
$form->setAction('/post/create');
echo $form;?>